<div class="uk-layui-form">
	<form class="layui-form uk-form" action="/admin/webim/impskill/save.html" method="post">
		<input type="hidden" name="snsid" id="snsaccountid" value="${inviteData.snsaccountid!''}">
		<input type="hidden" name="id" id="id" value="${inviteData.id!''}">
		<div class="layui-form-item">
			<label class="layui-form-label">请选择技能组：</label>
			<div class="layui-input-inline">
				<#if skillList??>
				<#list skillList as skill>
				<input type="checkbox" name="skills" title="${skill.name!''}" <#if inviteData?? && inviteData.skillgroup?? && inviteData.skillgroup?index_of(skill.id) gte 0>checked="checked"</#if> value="${skill.id!''}" lay-skin="primary"> <br/>
				</#list>
				</#if>
			</div>
		</div>
		
		<div class="layui-form-button">
			<div class="layui-button-block">
				<button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
				<button type="reset" class="layui-btn layui-btn-primary">重置</button>
			</div>
		</div>
	</form>
</div>

<script>
//Demo
layui.use('form', function(){
  var form = layui.form;
  form.render(); //更新全部
});
</script>